<?php

require_once BASE_PATH.'application/models/basedao'.EXT;

class consejossemanadao extends baseDAO {
	
	var $table = 'consejo_semana';
	
	var $sql   = '';

	function __construct()
	{
	    parent::__construct();
	}
	function _defaultSQL()
	{
		$this->db->select('id_consejo, id_semana');
	}
	
    function getIdsTips($id_semana){
        $this->db->select('id_consejo');
		$this->db->where(array("id_semana ="=>$id_semana));
		$query = $this->db->get($this->table);
		return $query->result_array();
    }
        
}

?>

